import request from '@/utils/request'
import { apiBanner, apiUpBanner } from '@/routerConfig'

export function getbanner() {
  return request({
    url: apiBanner,
    method: 'get'
  })
}
export function upBanner(data) {
  return request({
    url: apiUpBanner,
    method: 'post',
    data
  })
}
